import delimited "03-Silencing-Study/data/01-clean-data/clean_data.csv"

* Assess whether silencing effect is driven exclusively by offensive replies

tab silenced // 1,715 silencing replies

// Re-code silencing as 0 if offensive
replace silenced=0 if offensive==100

tab silenced // 1,495 silencing replies


//main effect - meta-analysis 
xi: reg silenced female male noname i.experiment1, r 
///subset to women only
xi: reg silenced female male noname i.experiment1 if gender=="female", r 
///subset to men only
xi: reg silenced female male noname i.experiment1 if gender=="male", r 

